<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<html>
<head>
    <title>后台首页</title>
</head>
<body>
<h1>欢迎${USER_SESSION.realname}</h1>
<div>
    <shiro:hasPermission name="user:select">
        <a href="<%=request.getContextPath()%>/user/select.do">查询用户</a><br>
    </shiro:hasPermission>
    <shiro:hasPermission name="user:add">
        <a href="<%=request.getContextPath()%>/user/add.do">增加用户</a><br>
    </shiro:hasPermission>
    <shiro:hasPermission name="user:update">
        <a href="<%=request.getContextPath()%>/user/update.do">修改用户</a><br>
    </shiro:hasPermission>
    <shiro:hasPermission name="user:delete">
        <a href="<%=request.getContextPath()%>/user/del.do">删除用户</a><br>
    </shiro:hasPermission>
</div>
</body>
</html>
